import { Constant } from "@/constant";
import { CustomBizDict, JobClassifyDict, JobNameBizDict } from "./dict";
import { EnumDict } from "jmash-core";

export class Dict {
  // 任务定义状态
  static readonly enableDict = new CustomBizDict(Constant.DEFINE_STATUS, {});
  // 是否立即开始
  static readonly jobTriggerDict = new CustomBizDict(
    Constant.TRIGGER_STATUS,
    {},
  );
  // 任务分类
  static readonly jobClassifyDict = new JobClassifyDict({});
  // 执行日志状态
  static readonly recordStateDict = new CustomBizDict(
    Constant.RECORDSTATE_STATUS,
    {},
  );
  // 运行实例状态
  static readonly instanceStateEnum = new EnumDict(
    Constant.MODULE_JOBS,
    Constant.ENUM_INSTANCE_STATE,
  );
  // 任务名称
  static readonly jobNameBizDict = new JobNameBizDict({});
}
